package com.bawei.login.api

import com.bawei.login.entity.UserEntity
import com.bawei.network.BaseResponse
import retrofit2.http.POST
import retrofit2.http.Query

interface LoginApiServer {

    @POST("/user/login")
    suspend fun userLogin(@Query("username") userName: String, @Query("password") password: String): BaseResponse<UserEntity>


}